Package com.cisco.pt.ipc.sim.impl
Class WirelessServerProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.WirelessCommonImpl
com.cisco.pt.ipc.sim.impl.WirelessServerProcessImpl
- All Implemented Interfaces:
IPCObject,Process,WirelessCommon,WirelessServerProcess
Information provided by the PKI file:
\class WirelessServerProcess
\brief WirelessServerProcess handles and manipulates wireless servers.
\example network().getDevice("PC0").getProcess("WirelessServer")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionWirelessServerProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidInformation provided by the PKI file:Information provided by the PKI file:getMacAddressAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetAllowAccess(boolean enable) Information provided by the PKI file:voidsetMacFilterEnabled(boolean enable) Information provided by the PKI file:voidsetSsidBrdCastEnabled(boolean enabled) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.WirelessCommonImpl
getAuthenType, getEncryptType, getNetworkType, getPort, getRadioBand, getSsid, getStandardChannel, getWepProcess, getWideChannel, getWpaProcess, setAuthenType, setEncryptType, setNetworkType, setPort, setRadioBand, setSsid, setStandardChannel, setWideChannelMethods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDeviceMethods inherited from interface com.cisco.pt.ipc.sim.WirelessCommon
getAuthenType, getEncryptType, getNetworkType, getPort, getRadioBand, getSsid, getStandardChannel, getWepProcess, getWideChannel, getWpaProcess, setAuthenType, setEncryptType, setNetworkType, setPort, setRadioBand, setSsid, setStandardChannel, setWideChannel
-
Constructor Details
-
WirelessServerProcessImpl
public WirelessServerProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
isMacFilterEnabled
public boolean isMacFilterEnabled()Information provided by the PKI file:
\brief Gets the mac filtering enable or disable state. \return Whether mac filtering is enabled or disabled. True is enabled.- Specified by:
isMacFilterEnabledin interfaceWirelessServerProcess- Returns:
- boolean Returns a boolean
-
setMacFilterEnabled
public void setMacFilterEnabled(boolean enable) Information provided by the PKI file:
\brief Enables/Disables wireless mac filtering. \param enable Whether to enable or disable it.- Specified by:
setMacFilterEnabledin interfaceWirelessServerProcess- Parameters:
enable- Takes in a parameter of enable
-
setAllowAccess
public void setAllowAccess(boolean enable) Information provided by the PKI file:
\brief Sets the mode to allow access from listed mac addresses, or deny access for listed mac addresses \param enable true means allow listed mac addresses to use it. false means deny listed mac addresses.- Specified by:
setAllowAccessin interfaceWirelessServerProcess- Parameters:
enable- Takes in a parameter of enable
-
isAccessAllowed
public boolean isAccessAllowed()Information provided by the PKI file:
\brief Gets the mode to allow access from listed mac addresses, or deny access for listed mac addresses \return If the current mode is to allow access or deny access. True mean listed macs are allowed.- Specified by:
isAccessAllowedin interfaceWirelessServerProcess- Returns:
- boolean Returns a boolean
-
removeAllMacEntries
public void removeAllMacEntries()Information provided by the PKI file:
\brief Clears the mac filtering table- Specified by:
removeAllMacEntriesin interfaceWirelessServerProcess
-
getAllMacEntries
Information provided by the PKI file:
\brief Gets all of the mac entries- Specified by:
getAllMacEntriesin interfaceWirelessServerProcess- Returns:
- List<MACAddress> Returns a List<MACAddress>
-
getMacAddressCount
public int getMacAddressCount()Information provided by the PKI file:
\brief Gets the count of the mac addresses- Specified by:
getMacAddressCountin interfaceWirelessServerProcess- Returns:
- int Returns a int
-
getMacAddressAt
Information provided by the PKI file:
\brief Gets the mac entry at index \param index the index of the desired mac address- Specified by:
getMacAddressAtin interfaceWirelessServerProcess- Parameters:
index- Takes in a parameter of index- Returns:
- MACAddress Returns a MACAddress
-
resetAllAssociations
public void resetAllAssociations()Information provided by the PKI file:
\brief Resets wireless client associations so that the new filters will affect existing associations.- Specified by:
resetAllAssociationsin interfaceWirelessCommon- Specified by:
resetAllAssociationsin interfaceWirelessServerProcess- Overrides:
resetAllAssociationsin classWirelessCommonImpl
-
addToMacFilterAddrList
Information provided by the PKI file:
\brief Add a mac address to the filtering table \param mac String of the mac address \return bool whether adding was successful. Adding an existing mac will be considered successful.- Specified by:
addToMacFilterAddrListin interfaceWirelessServerProcess- Parameters:
addr- Takes in a parameter of addr
-
removeFromMacFilterAddrList
Information provided by the PKI file:
\brief Removes a mac address from the filtering table \param mac The mac addres to remove- Specified by:
removeFromMacFilterAddrListin interfaceWirelessServerProcess- Parameters:
addr- Takes in a parameter of addr
-
isSsidBrdCastEnabled
public boolean isSsidBrdCastEnabled()Information provided by the PKI file:
\brief Check if ssid broadcast is enabled \returns bool, true if ssid broadcast is enabled and false if not- Specified by:
isSsidBrdCastEnabledin interfaceWirelessServerProcess- Returns:
- boolean Returns a boolean
-
setSsidBrdCastEnabled
public void setSsidBrdCastEnabled(boolean enabled) Information provided by the PKI file:
\brief Set Ssid broadcast enabled \param enabled, true if ssid broadcast is enabled and false if not- Specified by:
setSsidBrdCastEnabledin interfaceWirelessServerProcess- Parameters:
enabled- Takes in a parameter of enabled
-